//
//  DZZWeatherTableViewCell.m
//  DZZTravel
//
//  Created by xalo on 16/7/20.
//  Copyright © 2016年 Eason. All rights reserved.
//

#import "DZZWeatherTableViewCell.h"

@interface DZZWeatherTableViewCell ()


@property (weak, nonatomic) IBOutlet UILabel *CLabel;

@property (weak, nonatomic) IBOutlet UILabel *dateLabel;

@property (weak, nonatomic) IBOutlet UILabel *weatherLabel;

@property (weak, nonatomic) IBOutlet UIImageView *imageViewW;





@end


@implementation DZZWeatherTableViewCell

- (void)awakeFromNib {
    // Initialization code
}


- (void)setCellForModel:(DZZNaviWeatherModel *)weather{
    DZZNaviWeatherModel *wea = weather;
    
    self.CLabel.text = wea.temperature;
    self.dateLabel.text = wea.date;
    self.weatherLabel.text = wea.weather;
    [self.imageViewW sd_setImageWithURL:[NSURL URLWithString:weather.dayPictureUrl] placeholderImage:[UIImage imageNamed:@"bs"]];
    
}



- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
